package com.biz.primus.commodity.vo.backend;


import com.biz.primus.base.enums.commodity.IStatus;
import com.biz.primus.base.enums.SaleChannel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 分类编辑 Vo
 *
 * @author david-liu
 * @date 2016年12月21日
 * @reviewer
 * @see
 */
@Data
@ApiModel(description = "分类更新对象")
public class UpdateCategoryVo implements ICategoryVo {

    private static final long serialVersionUID = 3661775190880226387L;

    @NotNull
    @ApiModelProperty("分类Id")
    private Long id;

    @ApiModelProperty("父分类Id")
    private Long parentCategoryId;

    @NotNull
    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("logo")
    private String logo;

    @ApiModelProperty("排序")
    private Integer idx;

    @NotNull
    @ApiModelProperty("启用状态")
    private IStatus status;

    @ApiModelProperty("SEO 标题")
    private String seoTitle;

    @ApiModelProperty("SEO 关键字")
    private String seoKeywords;

    @ApiModelProperty("SEO 描述")
    private String seoDescription;

    @ApiModelProperty("分类渠道")
    private SaleChannel saleChannel;
}
